<script setup>

</script>

<template>
  <div>
    <h3>学习使用element-ui的文字链接组件（其实就是a标签）</h3>
    <el-link href="https://element.eleme.io" target="_blank">默认链接</el-link>
    <el-link type="primary">主要链接</el-link>
    <el-link type="success">成功链接</el-link>
    <el-link type="warning">警告链接</el-link>
    <el-link type="danger">危险链接</el-link>
    <el-link type="info">信息链接</el-link>

    <h3>文字链接之属性使用</h3>
    <el-link href="https://www.baidu.com">访问百度</el-link><br>
    <el-link href="https://www.baidu.com" target="_blank">访问百度</el-link><br>
    <el-link href="https://www.baidu.com" target="_blank" type="warning">访问百度</el-link><br>
    <el-link href="https://www.baidu.com" target="_blank" type="warning" :underline="false">访问百度</el-link><br>
    <el-link href="https://www.baidu.com" target="_blank" type="warning" :underline="false" icon="el-icon-search">访问百度</el-link><br>

  </div>
</template>

<style scoped>

</style>
